Optimal. Leaf size=39 \[ -\frac{\left (a+b x^2\right ) \sqrt{a^2+2 a b x^2+b^2 x^4}}{4 a x^4} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0382253, antiderivative size = 39, normalized size of antiderivative = 1., number of steps used = 3, number of rules used = 3, integrand size = 26, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.115, Rules used = {1111, 646, 37} \[ -\frac{\left (a+b x^2\right ) \sqrt{a^2+2 a b x^2+b^2 x^4}}{4 a x^4} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 1111
Rule 646
Rule 37
Rubi steps
\begin{align*} \int \frac{\sqrt{a^2+2 a b x^2+b^2 x^4}}{x^5} \, dx &=\frac{1}{2} \operatorname{Subst}\left (\int \frac{\sqrt{a^2+2 a b x+b^2 x^2}}{x^3} \, dx,x,x^2\right )\\ &=\frac{\sqrt{a^2+2 a b x^2+b^2 x^4} \operatorname{Subst}\left (\int \frac{a b+b^2 x}{x^3} \, dx,x,x^2\right )}{2 \left (a b+b^2 x^2\right )}\\ &=-\frac{\left (a+b x^2\right ) \sqrt{a^2+2 a b x^2+b^2 x^4}}{4 a x^4}\\ \end{align*}
Mathematica [A] time = 0.008054, size = 37, normalized size = 0.95 \[ -\frac{\sqrt{\left (a+b x^2\right )^2} \left (a+2 b x^2\right )}{4 x^4 \left (a+b x^2\right )} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.042, size = 34, normalized size = 0.9 \begin{align*} -{\frac{2\,b{x}^{2}+a}{4\,{x}^{4} \left ( b{x}^{2}+a \right ) }\sqrt{ \left ( b{x}^{2}+a \right ) ^{2}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F(-2)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Exception raised: ValueError} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 1.48193, size = 32, normalized size = 0.82 \begin{align*} -\frac{2 \, b x^{2} + a}{4 \, x^{4}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A] time = 0.291191, size = 14, normalized size = 0.36 \begin{align*} - \frac{a + 2 b x^{2}}{4 x^{4}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 1.15952, size = 41, normalized size = 1.05 \begin{align*} -\frac{2 \, b x^{2} \mathrm{sgn}\left (b x^{2} + a\right ) + a \mathrm{sgn}\left (b x^{2} + a\right )}{4 \, x^{4}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]